
public class ball extends liti1{
    double r;
    ball(double r){
    	this.r=r;
    }
	public double getArea() {
		return 4*3.14*r*r;
	}
	public double getvolume() {
		return 3.14*r*r*r*4/3;
	}
}
